package com.zlt.bkparking.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class AdvertisementDTO {

    private String adName;

    private Long auId;

    private String adPath;

    private Byte adIsPhoto;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date adStart;

    private Integer adDayCount;

    private String adDesc;

    private BigDecimal adTotalMoney;
}
